Instance 0

Centrality↓:6.974447792091746  Specificity↑:0.0
Class260.readTag(final BufferedReader r,final String tag)#0{
            final String s = r.readLine();
            if (!s.equals(tag))
                System.err.println("Parsing error: expected \"" + tag + "\", but found \"" + s + "\"");
}


Instance 1

Centrality↓:6.970110587395003  Specificity↑:0.0
Class50.runImpl()#24{
                newLine = newReader.readLine();
                if(newLine == null || !refLine.equals(newLine)){
                    accurate = false;
                    break;
                }
}


Instance 2

Centrality↓:6.970110587395003  Specificity↑:0.0
Class270.readLine(BufferedReader in,String prompt,String defaultValue){
    String value = in.readLine();
    return value.equals(""? defaultValue : value;
}


Instance 3

Centrality↓:6.970110587395003  Specificity↑:0.36787944117144233
Class410.readNextLine(final BufferedReader reader,final String expectedValue){
        final String value = reader.readLine();
        if (!expectedValue.equals(value)) {
            throw new IllegalStateException("Unexpected value. Expected " + expectedValue + " but was " + value);
        }
}


Instance 4

Centrality↓:6.9995509616536  Specificity↑:0.503214724408055
Class290.testMemcache(InetSocketAddress socketAddress)#0{
      String line = reader.readLine();
      if (line.equals("END")) {
        break;
      }
      if (line.equals("ERROR")) {
        throw new IllegalStateException("Got ERROR reply from memcache");
      }
    socket.close();
}


Instance 5

Centrality↓:6.9744764903207175  Specificity↑:0.7357588823428847
Class300.testRedis(InetSocketAddress socketAddress)#3{
      String line = reader.readLine();
      if (line.equals("")) {
        break;
      }
      sb.append(line);
    socket.close();
}


Instance 6

Centrality↓:6.998277281327928  Specificity↑:0.8710941655794974
Class110.waitForStop(TestContainer testContainer,int localPort)#0{
                String command = reader.readLine();
                LOG.debug("command = {}", command);
                if (command.equals("stop")) {
                    testContainer.stop();
                    pw.println("stopped");
                    writer.flush();
                    LOG.info("test container stopped");
                }
                else if (command.equals("quit")) {
                    LOG.debug("quitting PaxExamRuntime");
                    pw.close();
                    socket.close();
                    serverSocket.close();
                    running = false;
                }
}


Instance 7

Centrality↓:6.987544137486115  Specificity↑:1.00642944881611
Class640.gzCompare(String file1,String file2)#1{
}